﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Zhaoxi.SqlSugar.Models
{
    ///<summary>
    ///
    ///</summary>
    [SplitTable(SplitType._Custom01)]//按年分表 （自带分表支持 年、季、月、周、日）
    [SugarTable("CommoditySubTableDayArea")]//生成表名格式 3个变量必须要有
    public partial class CommoditySubTableDayArea
    {
        /// <summary>
        /// 省份
        /// </summary> 
        [SplitField]
        public string? Province { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? ProductId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CategoryId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Title { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? Price { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Url { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ImageUrl { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary> 
        public DateTime Createtime { get; set; }

    }
}
